package com.ljj.utils;

public class SubString {
    public static void main(String[] args) {
        String str = "Hello, World!";
        String subStr = str.substring(7, 12);  // 提取从索引7到11的子字符串
        System.out.println(subStr);  // 输出：World

        System.out.println(5 / 2);
    }
}
